package manong.mapper;

import java.util.List;

import manong.beans.Kecheng;
import manong.beans.courseTable;
import manong.beans.lesson;
import manong.beans.manager;

public interface lessonMapper {
	manager login(String name, String password);
	manager get_manager(String name);
	
    int  add_lesson(lesson lesson);
    
   void update_lesson(lesson lesson);
    
    int  delete_lesson(int cno);
    
    List<lesson> getAll_lesson();	
    
	lesson get_lesson(int cno);

	List<Kecheng> getKecheng();
	List<courseTable> getCourseTable(String clase);
}
